package com.example.myapplication.kit;


import android.app.Application;
import android.content.Context;

import com.example.myapplication.food_message.Menu;

import java.util.ArrayList;


public class MzApplication extends Application {

    private static MzApplication mzApplication = null;

    private  ArrayList<Menu> FoodList=null;

    public ArrayList<Menu> getFoodList() {
        return FoodList;
    }

    public void setFoodList(ArrayList<Menu> foodList) {
        FoodList = foodList;
    }

    private static Context context;

    public static MzApplication getApplication() {
        return mzApplication;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mzApplication = this;
        context = getApplicationContext();
    }

    public static Context getContext() {
        return context;
    }


}
